<template>
  <div class="child">
    child: {{count}}
    <button @click="addCount">addCount</button>
  </div>
</template>

<script>
export default {
  props: ['count'],
  methods: {
      addCount() {
        this.$emit('add')
      }
    }
}
</script>

<style>

</style>